<?php

use yii\helpers\Html;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use yii\widgets\LinkPager;
use frontend\controllers\AboutController;
use common\models\articles\Articles;
use common\models\Fenhuigrade\Fenhuigrade;
use common\models\member\Member;
use common\models\category\Category;
// 会员风采
$memberstyle = Member::find()->asArray()->limit(12)->all();
$membersytletype = Category::find()->where(['id' =>20])->asArray()->one()['ctype'];
// 品牌建设
$pinpai = Articles::find()->where(['category_id'=>23])->asArray()->limit(10)->all();
$weiyuan = Articles::find()->where(['category_id' => 16])->asArray()->limit(3)->all();
$weiyuantype = Category::find()->where(['id' =>16])->asArray()->one()['ctype'];
$data = Category::find()->where(['status' => 1,'parent_id'=>0])->asArray()->all();
$fenhui = Fenhuigrade::find()->limit(6)->all();

?>
<style>
	.articalcontact img{
		max-width: 100%;
	}
</style>

			<section class="news_list">
				<div class="articalcontact" style="width:;">
					<p class="bigtt"><?= $articles['title'];?></p>
					<p><?php  echo $articles['content']; ?></p>
            	</div>
            </section>
            
            <footer>
				<div class="footnav">
					<ul>
                        <li><a href="<?= yii\helpers\Url::to(['content/index', 'id' => 8])?>">关于我们</a> &nbsp; |</li>
                        <li><a href="<?= yii\helpers\Url::to(['content/index', 'id' => 30])?>">联系我们</a> &nbsp; |</li>
						<li><a href="<?= yii\helpers\Url::to(['content/index', 'id' => 34])?>">帮助中心</a> &nbsp; |</li>
						<li><a href="<?= yii\helpers\Url::to(['content/ditu', 'id' => 35])?>">网站地图</a></li>
					</ul>
				</div>
				<div class="right">© 北京市丰台区餐饮住宿服务行业协会 版权所有</div>
			</footer>